package com.zyz.E_面向对象.M_综合练习;

/**
 * @author: vick
 * @Date: 2025/3/16
 * @Description:
 * @version: 1.0
 */
public class Cat  extends Animal implements Pet{
    public Cat(String name, int age) {
        super(name, age);
    }

    @Override
    void makeSound() {
        System.out.println("Cat makeSound");
    }

    @Override
    void eat() {
        System.out.println("Cat eat");
    }

    @Override
    public void play() {
        System.out.println("Cat play");
    }
}
